//默认分页样式
export const pagination = {
	current: 1, //当前页码
	total: 0, // 总条数
	pageSize: 10, //每页中显示10条数据				 
	showTotal: total => `共${total} 条数据`, //分页中显示总的数据
	showSizeChanger: true,
}
//角色权限表头
export const roleTable = [{
	title: '角色名称',
	align: 'center',
	width: 140,
	dataIndex: 'name',
},  {
	title: '角色属性',
	align: 'center',
	width: 140,
	dataIndex: 'attribute',
	scopedSlots: { customRender: 'attribute'}	 	 
}, 
{
	title: '角色描述',
	dataIndex: 'description',
},
{
	title: '操作',
	dataIndex: 'operation',
	align: 'center',
	width: 120,
	scopedSlots: {
		customRender: 'operation'
	}
}];




//角色权限表头
export const operatorTable = [
	{
		title: '头像',
		align: 'center',
		width: 120,
		dataIndex: 'avatar',
		scopedSlots: {customRender: 'avatar'}

	},

	{
	title: '操作员姓名',
	align: 'center',
	width: 150,
	dataIndex: 'name',
},  {
	title: '登录账号',
	align: 'center',
	width: 150,
	dataIndex: 'account',
	 	 
}, 

 {
	title: '手机号码',
	align: 'center',
	width: 150,
	dataIndex: 'phone',
 
}, 



 {
	title: '电子邮箱',
	align: 'center',
 
	dataIndex: 'email',
	 
}, 
 {
	title: '状态',
	align: 'center',
	width: 120,
	dataIndex: 'status',
	scopedSlots: {
		customRender: 'status'
	}
		 
}, 



{
	title: '操作',
	dataIndex: 'operation',
	align: 'center',
	width: 180,
	scopedSlots: {
		customRender: 'operation'
	}
}];

